package com.gl.saasservice.approvalprocess.entity;

import com.gl.saasservice.entity.IdEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * 审批流程审批人表
 */
@Entity
@Table(name = "saas_approval_process_user")
public class ApprovalProcessUser extends IdEntity {
    /*
     *流程id
     */
    @Column(name = "approval_process_id", nullable = true)
    private Long approvalProcessId;
    /*
     *节点明细id
     */
    @Column(name = "approval_process_node_id", nullable = true)
    private Long approvalProcessNodeId;
    /*
     *机构id
     */
    @Column(name = "org_id", nullable = true)
    private Long orgId;
    /*
     *区域id
     */
    @Column(name = "area_id", nullable = true)
    private Long areaId;
    /*
     *审批人
     */
    @Column(name = "auditor_user_id", nullable = true)
    private String auditorUserId;
    /*
     *操作人
     */
    @Column(name = "operation_id", nullable = true)
    private String operationId;
    /*
     *最后更新时间
     */
    @Column(name = "last_update_time", nullable = true)
    private Date lastUpdateTime;

    //区域标签id
    @Column(name = "area_tag_id", nullable = true)
    private Long areaTagId;

    //状态：0停用 1启用
    @Column(name = "status", nullable = true)
    private Integer status;

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getAreaTagId() {
        return areaTagId;
    }

    public void setAreaTagId(Long areaTagId) {
        this.areaTagId = areaTagId;
    }

    public Long getApprovalProcessId() {
        return approvalProcessId;
    }

    public void setApprovalProcessId(Long approvalProcessId) {
        this.approvalProcessId = approvalProcessId;
    }

    public Long getApprovalProcessNodeId() {
        return approvalProcessNodeId;
    }

    public void setApprovalProcessNodeId(Long approvalProcessNodeId) {
        this.approvalProcessNodeId = approvalProcessNodeId;
    }

    public Long getOrgId() {
        return orgId;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    public Long getAreaId() {
        return areaId;
    }

    public void setAreaId(Long areaId) {
        this.areaId = areaId;
    }

    public String getAuditorUserId() {
        return auditorUserId;
    }

    public void setAuditorUserId(String auditorUserId) {
        this.auditorUserId = auditorUserId;
    }

    public String getOperationId() {
        return operationId;
    }

    public void setOperationId(String operationId) {
        this.operationId = operationId;
    }

    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }
}
